<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />
    <title>文件上传</title>
    <script type="text/javascript" th:src="@{/menu/js/jquery.js}"></script>
    <script type="text/javascript" th:src="@{/menu/js/jquery.form.min.js}"></script>
    <script type="text/javascript" th:src="@{/menu/js/custom.js}"></script>
</head>
<body>
    <form enctype="multipart/form-data"  id="uploadForm"  >
        <tr bgcolor="f5f5f5">
            <td width="22%" > <div align="right">Logo图片：</div></td>
            <td width="78%"> <input type="file" name="logofile" accept="image/png,image/gif,image/jpeg" id="logofile" size="50" onchange="showImage(this)">
                <button  type="button" id="uploadImage" >插入</button>
                <div id="show"></div>
            </td>
        </tr>
    </form>
</body>
</html>